package org.dromara.wms.domain.vo;

import org.dromara.wms.domain.WmsGroup;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 产品分组视图对象 wms_group
 *
 * @author Lion Li
 * @date 2024-03-20
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WmsGroup.class)
public class WmsGroupVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 产品名称
     */
    @ExcelProperty(value = "产品名称")
    private String name;

    /**
     * 编码
     */
    @ExcelProperty(value = "编码")
    private String spu;

    /**
     * 是否商城商品
     */
    @ExcelProperty(value = "是否商城商品")
    private String isShop;

    /**
     * 是否销售模块可用
     */
    @ExcelProperty(value = "是否销售模块可用")
    private String isCrm;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_status")
    private String status;

    /**
     * 产品分类
     */
    @ExcelProperty(value = "产品分类")
    private Long treeId;

    /**
     * 商城分类
     */
    @ExcelProperty(value = "商城分类")
    private Long mallTreeId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
